<template>
	<div >
		<van-form>
			<van-uploader v-model="cover" multiple  readonly />
			<van-uploader v-model="picture" multiple :max-count="8" @change="" />
			<van-cell-group inset>
				<van-field v-model="title" placeholder="添加标题获得更多流量(选填)" />
			
			<hr color="#ccc" />
			
				<van-field v-model="moment_content" 
				    autosize
				    type="textarea"
				    maxlength="1024"
				    show-word-limit
				placeholder="我想说" />
			</van-cell-group>
			<button @click="test()"></button>
		</van-form>
	</div>

</template>

<script>
	export default {
		data() {
			return {
				cover:this.picture == null ? this.picture : this.picture[0],
				picture: [],
				title: "",
				moment_content:"",
			};
		},methods:{
			test(){
				console.log(this);
			}
		}
	};
</script>

<style>
	*{
		
	}
</style>
